﻿using Furion.DataValidation;
using LimaLims.Application.Service.Base.Dto;
using LimaLims.Core;
using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LimaLims.Application.Service.Sys.Dto
{
    public class AddDictDataInput: BaseDto
    {
        public long DictTypeId { get; set; }
        public string Value { get; set; }
        public string Code { get; set; }
        public string Remark { get; set; }
    }
    public class UpdateDictDataInput : AddDictDataInput
    {
    }
    public class DictDataPageInput : PageInputBase
    {
        public long DictTypeId { get; set; }
        public string Value { get; set; }
        public string Code { get; set; }
    }
    public class DictDataOutput
    {
        /// <summary>
        /// 字典Id
        /// </summary>
        public virtual long Id { get; set; }

        /// <summary>
        /// 字典类型Id
        /// </summary>
        public long DictTypeId { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        public string Value { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }

}
